export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/task/index',
    'pages/my/index',
  ],
  subPackages: [
    {
      root: 'task',
      pages: [
        'publish/index',
        'receive-task/index',
        'sign-in/index',
        'publish-complete/index',
        'base-info/index'
      ]
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#2a306a',
    navigationBarTitleText: '羔羊大秘境',
    navigationBarTextStyle: 'white'
  },
  tabBar: {
    selectedColor: '#2a306a',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: 'static/icons/index.png',
        selectedIconPath: 'static/icons/index-active.png'
      },
      {
        pagePath: 'pages/task/index',
        text: '任务',
        iconPath: 'static/icons/task.png',
        selectedIconPath: 'static/icons/task-active.png'
      },
      {
        pagePath: 'pages/my/index',
        text: '我的',
        iconPath: 'static/icons/my.png',
        selectedIconPath: 'static/icons/my-active.png'
      }
    ]
  },
  usingComponents: {}
})
